package cn.edu.scau.cmi.dengzejun.chapter09;

import java.math.*;

public class Example9_17 {
	public static void main(String args[]) {
		double a = 5.0;
		double st = Math.sqrt(a);
		System.out.println("the "+a+" sqrt is " + st+" ");
		BigInteger result = new BigInteger("0"),
					one = new BigInteger("123456789"),
					two = new BigInteger("987654321");
		result = one.add(two);
		System.out.println("sum is "+result);
		result = one.multiply(two);
		System.out.println("mulitpy is "+result);
		return;
	}
}
